import {
  createBrowserRouter,
  useRoutes,
  RouteObject,
} from "react-router-dom";
import TabChrome from '@/pages/tab-chrome';
// import Loading from '@/pages/loading';

export const router = createBrowserRouter([
  {
    path: "/",
    element: <TabChrome />,
  },
  // {
  //   path: "/loading",
  //   element: <Loading />,
  // },
]);

const routes: RouteObject[] = [
  {
    path: "/",
    element: <TabChrome />,
  }
];
export const MyRoutes = () => useRoutes(routes);